package demo01;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-02
 * Time: 16:34
 */
class MyRunnable implements Runnable {
    @Override
    public void run() {
        System.out.println(" Runnable");
    }
}
public class test02 {
    public static void main(String[] args) {
        Thread t = new Thread( new MyRunnable());
        t.start();
    }
}
